package de.lot.action;

import org.jboss.seam.annotations.Name;
import org.jboss.seam.framework.EntityQuery;

/**
 * Class holding the String for a query for a full list of all Roles
 *
 * @see Role
 * @author Stefan Kohler <kohler.stefan@gmail.com>
 */
@Name("roleList")
public class RoleList extends EntityQuery {

    @Override
    public String getEjbql() {
        return "select role from Role role";
    }
}
